<%@page import="bean.B01scoreDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href ='/Web/02CSS/B01score.css'/>
<script src = '/Web/03JavaScript/B01score.js'></script>
</head>
<body>
<jsp:useBean id="vo" class ="bean.B01scoreVO" scope="page"/>
<jsp:setProperty property="*" name="vo"/>
	<h1>성적 삭제 결과</h1>
	<hr>
	<%
	B01scoreDTO dto = new B01scoreDTO();
	dto.setVo(vo);
	if(dto.delete()){
		out.print("<h4>정상적으로 삭제되었습니다.</h4>");
	}else{
		out.print("<h4>삭제 중 오류가 발생했습니다.</h4>");
	}
	%>
	<br>
	<br>
	<input type="button" value="성적목록" id="btnList"/>
</body>
<script>deleteInit();</script>
</html>